import { CrownOutlined, UserOutlined } from '@ant-design/icons';
import { DefaultFooter } from '@ant-design/pro-components';
import React from 'react';
import './index.less';

/**
 * 全局 Footer
 */
const GlobalFooter: React.FC = () => {
  const currentYear = new Date().getFullYear();

  return (
    <DefaultFooter
      className="default-footer"
      links={[
        {
          key: '1',
          title: (
            <>
              <UserOutlined /> 小组组长：李腾<br/>
              <UserOutlined /> 成员：李浩东，高欣苗
            </>
          ),
          href: '',
          blankTarget: true,
        },
        {
          key: '2',
          title: (
            <>
              <CrownOutlined /> 计算机4班专业综合实践
            </>
          ),
          href: '',
          blankTarget: true,
        },
      ]}
    />
  );
};

export default GlobalFooter;
